package com.yootk.vo;

public class Emp {
    private Long empno;
    private String ename;
    private Dept dept;

    public Long getEmpno() {
        return empno;
    }

    public void setEmpno(Long empno) {
        this.empno = empno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    @Override
    public String toString() {
        return "【雇员信息 - "+super.toString()+"】编号：" + this.empno + "、姓名：" + this.ename;
    }
}
